<!DOCTYPE html>
<html>
    <head>
        <title>PHP Test</title>
    </head>
    <body>
        <?php echo '<p>Hello World</p>'; ?>
        <?php echo $_SERVER['HTTP_USER_AGENT']; ?>
        <?php
            if (1 > 2) {
                echo '<p>You are using Firefox.</p>';
            } else {
                echo '<p>You are using Other.</p>';
            }
        ?>
        <form action="action.php" method="post">
            <label for="name">Your name:</label>
            <input name="name" id="name" type="text">

            <label for="age">Your age:</label>
            <input name="age" id="age" type="number">

            <button type="submit">Submit</button>
        </form>
        <!-- <?php phpinfo(); ?> -->
    </body>
</html>